package com.Extends;

public class  PC extends Computer {
        private String brand;

        public PC(String CPU, String Memory, String Hard_disk, String brand) {
              super(CPU, Memory, Hard_disk);
              this.brand = brand;
        }

        public void setBrand(String brand) {
                this.brand = brand;
        }
        public String getBrand() {
                return brand;
        }
        public String Print01() {
                return getDetials()+" 品牌:"+getBrand();
        }
}
